package com.design.battercake.v1;

public class Test {


    public static void main(String[] args) {
        BatterCake batterCake = new BatterCake();
        System.out.println(batterCake.getMsg() + ",总价:" + batterCake.getPrice());

        BatterCkeWithEgg batterCkeWithEgg = new BatterCkeWithEgg();
        System.out.println(batterCkeWithEgg.getMsg() + ",总价:" + batterCkeWithEgg.getPrice());

        BatterCakeWithEggAndSauage batterCakeWithEggAndSauage =new BatterCakeWithEggAndSauage();
        System.out.println(batterCakeWithEggAndSauage.getMsg() + ",总价:" + batterCakeWithEggAndSauage.getPrice());
    }
}
